package com.niodata.dp.mybatis;

import com.zaxxer.hikari.HikariDataSource;
import org.apache.ibatis.datasource.unpooled.UnpooledDataSourceFactory;

public class HikariDataSourceFactory extends UnpooledDataSourceFactory {

  public HikariDataSourceFactory() {
    HikariDataSource ds = new HikariDataSource();
    ds.setAutoCommit(false);
    this.dataSource = ds;
  }
}
